package itdfq.ydd.Creational_Pattern.jianzaozhe;

/**
 * @Author GocChin
 * @Date 2021/3/22 14:33
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("18031210136  杨丹丹");
        DiroBuilder diroBuilder = (DiroBuilder) XMLUtil.getBean();
        Waiter waiter = new Waiter();
        waiter.setDiroBuilder(diroBuilder);
        Dior consurcut = waiter.consurcut();
        System.out.println("迪奥化妆品套餐为：");
        System.out.println(consurcut.getKouhong());
        System.out.println(consurcut.getMianmo());
    }
}
